package com.syx.entity;

public class Goods {
    private Integer sid;
    private String sname;
    private String ssty;
    private Integer pid;
    private String price;
    private String time;

    public Goods() {
    }

    public Goods(Integer sid, String sname, String ssty, Integer pid, String price, String time) {
        this.sid = sid;
        this.sname = sname;
        this.ssty = ssty;
        this.pid = pid;
        this.price = price;
        this.time = time;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsty() {
        return ssty;
    }

    public void setSsty(String ssty) {
        this.ssty = ssty;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", ssty='" + ssty + '\'' +
                ", pid=" + pid +
                ", price='" + price + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
